8ecea0d9387fd06f1674c69c36683ca7f9d85978,src/main/java/de/epiceric/shopchest/listeners/ShopItemListener.java,ShopItemListener,onMultiBlockPlace,#BlockMultiPlaceEvent#,109
Before Change
Block below = blockState.getBlock().getRelative(BlockFace.DOWN);
if (shopUtils.isShop(below.getLocation())) {
shopUtils.getShop(below.getLocation()).getItem().resetForPlayer(e.getPlayer());
e.setCancelled(true);
}
}
After Change
if (shopUtils.isShop(below.getLocation())) {
Shop shop = shopUtils.getShop(below.getLocation());
if (shop.getItem() != null) {
shop.getItem().resetForPlayer(e.getPlayer());
}
e.setCancelled(true);
}